import { createStore } from 'vuex'

export default createStore({
  state: {
    routes: [], // 后端获取 home 菜单
  },
  mutations: {
    initRoutes(state, data) {
      state.routes = data
    }
  },
  actions: {
  },
  modules: {
  },
  getters: {

  }
})
